package com.my.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.my.bean.Purchasing;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 每日采购材料 Mapper 接口
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-08-29
 */
public interface PurchasingMapper extends BaseMapper<Purchasing> {

    /**
     * 查询
     * @param purchasing
     * @return
     */
    List<Purchasing> select(Purchasing purchasing);

    /**
     * 实现分页
     * @param map
     * @return
     */
    List<Purchasing> selectMyPage(@Param("map") Map map);
    int countMyPage(@Param("map") Map map);


}